package com.be.beadmin.service.util;

import com.be.beadmin.common.utils.SecurityUtils;

/**
 * @Description:
 * @author: Jiaming Zheng
 * @Date: Create in 14:24 2023/6/21
 * @Modified By:
 **/
public class UserUtil {


    public static String getUsername() {
        try {
            return SecurityUtils.getLoginUser().getName();
        }catch (Exception e){
            return "";
        }
    }
}
